package com.kayt.cyberBar.statistics.service.impl;

import com.kayt.cyberBar.common.base.BaseDaoService;
import com.kayt.cyberBar.common.base.BaseService;
import com.kayt.cyberBar.statistics.dao.impl.StatisticsCyberFinanceDaoImpl;
import com.kayt.cyberBar.statistics.entity.po.BStatisticsCyberFinance;
import com.kayt.cyberBar.statistics.entity.vo.StatisticsCyberFinanceVO;
import com.kayt.cyberBar.statistics.service.IStatisticsCyberFinanceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Description
 *
 * @author Kevin
 * @since 12/29/2017 16:33
 */
@Service
public class StatisticsCyberFinanceServiceImpl extends BaseService<BStatisticsCyberFinance,StatisticsCyberFinanceVO> implements IStatisticsCyberFinanceService {
    @Autowired
    private StatisticsCyberFinanceDaoImpl statisticsCyberFinanceDao;
    @Override
    public BaseDaoService<BStatisticsCyberFinance> getDaoService() {
        return statisticsCyberFinanceDao;
    }

    @Override
    public long getID(StatisticsCyberFinanceVO vo) {
        return vo.getId();
    }
}
